package com.gitee.zhanyao.cloud.mq.consumer.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/mq")
public class MqController {

    @GetMapping("/sendMq/{message}")
    public String sendMq(@PathVariable("message") String message) {
        return "send " + message;
    }

}
